package com.sc1905.crane.mapper;

import com.sc1905.crane.pojo.NBrowse;
import org.apache.ibatis.annotations.Param;

public interface NBrowseMapper {
    int deleteByPrimaryKey(Integer browseid);

    int insert(NBrowse record);

    int insertSelective(NBrowse record);

    NBrowse selectByPrimaryKey(Integer browseid);

    int updateByPrimaryKeySelective(NBrowse record);

    int updateByPrimaryKey(NBrowse record);

    NBrowse isRead(@Param(value = "userId") Integer userId, @Param(value = "novelId") Integer novelId);

}